/*
 * Copyright 2017 Baiyyy
 * @(#)TAColdStorageBox.java
 */

package com.byyy.ccts.modules.cc.entity.ccts;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.byyy.ccts.core.common.entity.AbstractEntity;
import com.byyy.ccts.core.security.shiro.authz.annotation.DataPermission;

/**
 * Created by DELL on 2018-6-13.
 */
@TableName("T_A_CHILLCAR")
public class TAChillCar extends AbstractEntity<String> {

    /** 车辆编号 */
    @TableId(value = "ID", type = IdType.UUID)
    private String id;

    /** 车牌号 */
    @TableField(value="PLATE_NUM")
    private String plateNum;

    /** 车辆容积 */
    @TableField(value="VOLUME")
    private String volume;

    /** 冷藏车测点1 */
    @TableField(value="MEASUREPOINT_ONE")
    private String measurepointOne;

    /** 冷藏车测点2 */
    @TableField(value="MEASUREPOINT_TWO")
    private String measurepointTwo;

    /** 箱子状态 */
    @TableField(value="STATE")
    private String state;

    /** 工作状态 */
    @TableField(value="WORKING")
    private String working;

    /** 仓库 */
    @DataPermission
    @TableField(value="CANGKU")
    private String cangku;

    @Override
    public String getId() {
        return id;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public String getPlateNum() {
        return plateNum;
    }

    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }

    public String getVolume() {
        return volume;
    }

    public void setVolume(String volume) {
        this.volume = volume;
    }

    public String getMeasurepointOne() {
        return measurepointOne;
    }

    public void setMeasurepointOne(String measurepointOne) {
        this.measurepointOne = measurepointOne;
    }

    public String getMeasurepointTwo() {
        return measurepointTwo;
    }

    public void setMeasurepointTwo(String measurepointTwo) {
        this.measurepointTwo = measurepointTwo;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getWorking() {
        return working;
    }

    public void setWorking(String working) {
        this.working = working;
    }

    public String getCangku() {
        return cangku;
    }

    public void setCangku(String cangku) {
        this.cangku = cangku;
    }
}
